package com.mytest.test.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @description:学生实体类
 * @author: chengxucai
 * @createDate: 2022/03/14
 */
@Data
public class Students {
    public Students(int classNo, int studentNo, String studentName, String homeAddress, Date updateTime){
        this.classNo=classNo;
        this.studentNo=studentNo;
        this.studentName=studentName;
        this.homeAddress=homeAddress;
        this.updateTime=updateTime;

    }
    private static final long serialVersionUID = 1L;
    @TableId(value = "class_no")
    private Integer classNo;
    //@TableId(value = "student_no")
    private  Integer studentNo;
    private  String studentName;
    private  String homeAddress;
    private Date updateTime;
}
